//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "start.sqf"
#include <tmf_constants.h>
#include <tmf_macros.h>
TRACE_1("Start",_this);
titleText ["","BLACK FADED"];
if (isServer) then {
	// Initialisation pour le serveur uniquement
	DEBUG_1("Message",diag_ticktime);
	WAITINIT(start);
	
};

if (!isDedicated && hasInterface) then {
	// Initialisation pour le joueur uniquement
	INFO_1("Initialisation du joueur",name player);
	titleText ["","BLACK FADED"];
	waituntil { !(isNull player) };
	waituntil { player == player };
	removeAllWeapons player; removeAllItems player; player disableAI "ANIM"; removeHeadgear player; removeVest player; removeGoggles player; player unassignItem "NVGoggles";
	titleText ["","BLACK FADED"];
	WAITINIT(start);
	sleep 3;
};
titleFadeOut 5;
TRACE("End");